package com.wwe.kotlinstudy.dm.twelve;

/**
 * @name KotlinStudy
 * @package name：com.wwe.kotlinstudy.dm.twelve
 * @anthor DavidZhang
 * @time 2018/5/21 11:13
 * @class 班长
 */
public class Monitor implements Command {

    private Soldier soldier;

    public Monitor(Soldier soldier) {
        this.soldier = soldier;
    }

    @Override
    public void exe() {
        soldier.action();
    }
}
